#define  _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<string.h>
using namespace std;

int main()
{
	string str1 = "abcdef";
	string substr = str1.substr(1, 3);
	cout << substr << endl;
	system("pause");
	return 0;
}